package com.yonyou.brigade.third_parties.common.service;

import com.yonyou.brigade.third_parties.common.model.ThirdProperty;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiangzhf@yonyou.com
 * @since 2018-12-25
 */
public interface IThirdPropertyService extends IService<ThirdProperty> {

    /**
     * 根据租户组织及渠道查询
     *
     * @param tenantId
     * @param org       组织PK
     * @param channel   {@link com.yonyou.brigade.basic_init.enums.ChannelEnum}
     * @return
     */
    List<ThirdProperty> getThirdPropertyByTenantOrgChannel(String tenantId, String org, String channel);

}
